.gl-mx-auto{ class: '@sm/panel:gl-w-1/2' }
  .gl-justify-start.gl-items-center
    .gl-heading-1
      = s_('DeviceAuth|Authorize device to access to your GitLab account.')
    .div
      = form_with url: confirm_oauth_device_path, method: :post, class: 'gl-inline-block gl-pr-3' do |f|
        .form-group.row
          .gl-col-lg-8.gl-col-sm-10
            = f.label :user_code
            = text_field_tag :user_code, params[:user_code], id: nil
        .div
          = render Pajamas::ButtonComponent.new(type: :submit,
            variant: :confirm,
            button_options: { data: { testid: 'authorization-button' }}) do
            = s_('DeviceAuth|Authorize')
